<template>
  <div class="empty-page">
    <el-empty description="页面开发中，敬请期待...">
      <el-button type="primary" @click="goBack">返回首页</el-button>
    </el-empty>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'

const router = useRouter()

const goBack = () => {
  router.push('/dashboard')
}
</script>

<style scoped>
.empty-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
}
</style>